package epidemic

import (
	"time"
)

// EpidemicRelatedStaffHistory 结构体
type EpidemicRelatedStaffHistory struct {
	Id            uint       `gorm:"primarykey" json:"id"` // 主键ID
	Name          string     `json:"name" form:"name" gorm:"column:name;comment:姓名;size:50;"`
	Mobile        string     `json:"mobile" form:"mobile" gorm:"column:mobile;comment:手机号;size:64;"`
	Company       string     `json:"company" form:"company" gorm:"column:company;comment:公司：字典值;size:50;"`
	Organization  string     `json:"organization" form:"organization" gorm:"column:organization;comment:编制：字典值;size:50;"`
	Location      string     `json:"location" form:"location" gorm:"column:location;comment:工作地点：字典值;size:50;"`
	AppletReport  string     `json:"appletReport" form:"appletReport" gorm:"column:applet_report;comment:是否上传小程序：字典值;size:50;"`
	IsolationType string     `json:"isolationType" form:"isolationType" gorm:"column:isolation_type;comment:隔离情况分类：字典值;size:50;"`
	Department    string     `json:"department" form:"department" gorm:"column:department;comment:部门：字典值;size:50;"`
	HomeBeginDate *time.Time `json:"homeBeginDate" form:"homeBeginDate" gorm:"column:home_begin_date;comment:居家开始时间;"`
	CompanyOaDate *time.Time `json:"companyOaDate" form:"companyOaDate" gorm:"column:company_oa_date;comment:公司OA提交时间;"`
	ReturnDate    *time.Time `json:"returnDate" form:"returnDate" gorm:"column:return_date;comment:返岗时间;"`
	Details       string     `json:"details" form:"details" gorm:"column:details;comment:具体情况;"`
	CreatedAt     time.Time  `json:"created_at" form:"created_at"` // 创建时间
	UpdatedAt     time.Time  `json:"updated_at" form:"updated_at"` // 更新时间
	RelatedId     uint       `json:"related_id" form:"related_id" gorm:"column:related_id;comment:关联id;"`
}
